package client.popups.wizard;


import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.ButtonGroup;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JLabel;

public class AppointmentRoomWizard extends JPanel{
	private final ButtonGroup buttonGroup = new ButtonGroup();
	private JRadioButton rdbtnLocation;
	private JRadioButton rdbtnRoom;
	
	public AppointmentRoomWizard() {
		
		rdbtnLocation = new JRadioButton("Sted");
		buttonGroup.add(rdbtnLocation);
		
		rdbtnRoom = new JRadioButton("Velg rom");
		buttonGroup.add(rdbtnRoom);
		setLayout(new BorderLayout(0, 0));
		add(rdbtnLocation);
		add(rdbtnRoom, BorderLayout.WEST);
		
		JLabel lblBestemSted = new JLabel("Bestem sted:");
		add(lblBestemSted, BorderLayout.NORTH);
	}

	public JRadioButton getRdbtnLocation() {
		return rdbtnLocation;
	}

	public JRadioButton getRdbtnRoom() {
		return rdbtnRoom;
	}
	
	public AppointmentRoomWizard getButtonGroupPicker(){
		return this;
	}
	
}
